package com.mail.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;

/**
 *  用来接不用加配置的email所需参数
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmailConfigIdDto implements Serializable{

    /**
     *发送人邮箱
     */
    private String accountEmail;

    /**
     *邮件标题
     */
    private String title;

    /**
     *邮件内容
     */
    private String content;

    /**
     *发件人名称
     */
    private String sendMailName;

    /**
     *附件
     */
    private MultipartFile files;

    /**
     *收件人
     */
    private String[] receiveMail;

    /**
     *收件人昵称(可选)
     */
    private String receiveMailName;
}
